package com.yuyou.fn.wage.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.vo.TeacherQueryVo;
import com.yuyou.fn.platform.permission.DataPermission;
import com.yuyou.fn.wage.entity.WageCoefficientPerformance;
import com.yuyou.fn.wage.vo.CoefficientPerformanceUpdateVo;
import com.yuyou.fn.wage.vo.EmployeeCoefficientPerformance;
import com.yuyou.fn.wage.vo.ImportTeacherCoefficientPerformanceVo;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;

import java.util.List;

/**
 *
 * WageCoefficientPerformance 表数据服务层接口
 *
 */
public interface IWageCoefficientPerformanceService extends ISuperService<WageCoefficientPerformance,Long> {

    Page<EmployeeCoefficientPerformance> findTeacherCoefficientPerformancePage(DataPermission dataPermission, TeacherQueryVo teacherQueryVo, int pageNo, int pageSize);

    SXSSFWorkbook exportTeacherCoefficientPerformance(DataPermission dataPermission, TeacherQueryVo teacherQueryVo);

    EmployeeCoefficientPerformance findTeacherCoefficientPerformance(Long teacherId);

    List<WageCoefficientPerformance> findCoefficientPerformanceByEmployeeIds(List<Long> employeeIds);

    void updateEmployeeCoefficientPerformanceSetting(CoefficientPerformanceUpdateVo coefficientPerformanceUpdateVo);

    void importTeacherCoefficientPerformanceSetting(List<ImportTeacherCoefficientPerformanceVo> importTeacherCoefficientPerformanceVos);


}
